package com.baosight.xdata.redis;

public class StreamConsumerInfo {
    private String stream;
    private String group;
    private String consumer;

    public StreamConsumerInfo(String stream, String group, String consumer) {
        this.stream = stream;
        this.consumer = consumer;
        this.group = group;
    }

    public String getStream() {
        return stream;
    }

    public void setStream(String stream) {
        this.stream = stream;
    }

    public String getConsumer() {
        return consumer;
    }

    public void setConsumer(String consumer) {
        this.consumer = consumer;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    @Override
    public String toString() {
        return "StreamConsumerInfo{" +
                "stream='" + stream + '\'' +
                ", group='" + group + '\'' +
                ", consumer='" + consumer + '\'' +
                '}';
    }
}
